<!-- Login wrapper begins -->
<div class="loginWrapper">

	<!-- Current user form -->
    <form action="/login" id="login" method="post" style="text-align:left">
        
        <input type="text" id="admin_name" name="admin_name" placeholder="Confirm your username" class="loginUsername validate[required]" />
        <input type="password" id="admin_pass" name="admin_pass" placeholder="Password" class="loginPassword validate[required]" />
        <input type="text" id="verifycode" name="verifycode" class="validate[required]" style="width:50px" />
        <?php $this->widget('CCaptcha',
        		array(
					'id' => 'captcha',
					'showRefreshButton'=>false,
					'clickableImage'=>true,
					'imageOptions'=>array(
						'alt'=>'点击刷新',
						'title'=>'点击刷新',
						'style'=>'cursor:pointer;vertical-align:middle'
					)
				));
		?>
        <div class="logControl">
            <input type="submit" name="submit" value="Login" class="buttonM bBlue" />
            <?php echo Yii::app()->user->getFlash('error'); ?>
            <div class="clear"></div>
        </div>
    </form>
   
</div>
<!-- Login wrapper ends -->